<!DOCTYPE html>
<html lang="zh-cn">
    <head>
        <meta charset="UTF-8"/>
        <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
        <title>小图标与文字垂直居中对齐-绝对定位</title>
        <style>
            * {
              padding:0;
              margin:0;
              font-size:14px;
            }
            .box{
              position: relative;
              margin-left: 15px;
              padding-left: 25px;
              height: 44px;
              line-height: 44px;
            }
            .zhuye {
                background: url(img/index_sprites0226.png) no-repeat;
                background-position: 7px -1077px;
                padding: 0 0 0 24px;
                color: #818181;
                display: inline-block;
                margin-right: 35px;
                height: 30px;
                line-height: 30px;
            }
        </style>
    </head>
    <body>
        <a href="/tpl/fix.html" data-pos="2" class="zhuye index-icon" target="_blank" data-tjname="header,sethome,,">设为主页</a>
    </body>
</html>